package org.service;

import org.dao.UserDao;
import org.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "userService")
public class UserService {
	@Autowired
	private UserDao userDao;
	public User fineUser(String id, String pwd) {
		return userDao.fineUser(id, pwd);
	}
	public User registerUser(String userName, String pwd) {
		return userDao.registerUser(userName, pwd);
	}
}
